package com.debao.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 程序注解配置
 *
 * @author dhq
 */
@Component
@ConfigurationProperties(prefix = "wechat.mp")
public class WechatMpConfig {
    private static String appid;
    private static String appsecret;
    private static String token;
    private static String aeskey;


    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        WechatMpConfig.appid = appid;
    }


    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        WechatMpConfig.appsecret = appsecret;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        WechatMpConfig.token = token;
    }

    public String getAeskey() {
        return aeskey;
    }

    public void setAeskey(String aeskey) {
        WechatMpConfig.aeskey = aeskey;
    }

}
